package com.logicwin.aibala.model.userLogin;

/**
 * 秒数用户注册，登录结果类
 * 
 * @author GuoDing
 * @since 2011-05-27
 */
public final class RegLoginResult {
	private boolean isSuccess;
	private String descStr;
	
	public RegLoginResult() {
	}
	
	public void setResult(boolean ret) {
		this.isSuccess = ret;
	}
	
	/**
	 * 获取结果，成功(true)还是失败(false)
	 * @return
	 */
	public boolean getResult() {
		return this.isSuccess;
	}
	
	public void setDescString(String str) {
		this.descStr = new String(str);
	}
	
	/**
	 * 获取描述信息(主要用于失败的时候的失败原因)
	 * @return
	 */
	public String getDescString() {
		return this.descStr;
	}
}
